Let's begin with the "" environment. Changing the color of lines is easy, because if you write, say, "
With LATEX, you can add an entry like
@{\hspace{\tabcolsep}{\gray\vrule}\hspace{\tabcolsep}}to the argument of the alignment environment, instead of "|", if you want to color the vertical line that is drawn. If using "array.sty", you can try:
!{{\gray\vrule}}
To color horizontal lines with LATEX, don't bother trying
{\gray\hline}because it won't work. You write your own version of "" and "", or use the non-aligned color commands described in the next section.